package com.tyk.bookstore.back.product.model.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author tyk
 * @description 分类
 */
@Data
@Schema(name = "ClazzListQuery", description = "分类")
public class ClazzListQuery implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "级别[1一级，2二级，3三级]")
    private Byte level;

    @Schema(description = "父级ID")
    private Long parentId;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}
